#ifndef __BALLADE_OUTPUT_STREAM_H__
#define __BALLADE_OUTPUT_STREAM_H__

#pragma once

#include <ballade/util.h>
#include <ballade/network/config.h>
#include <ballade/network/socket_error.h>

namespace Ballade
{
	namespace Network
	{
		
		class NETWORK_API OutputStream
		{
		public:
			OutputStream();
			OutputStream(const int sock);
			~OutputStream();
			
			virtual const int write(char *buf, const int len) const throw (SocketError);
			
		protected:
			static Util::Logger &Logger_;
			
		private:
			int _sock;
		};
	}
}
#endif